package com.zr.wodedingdan.mapper;

import com.zr.wodedingdan.pojo.PaymentInformation;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created by Administrator on 2019/7/3 0003.
 */
@Mapper
public interface WodedingdanMapper {

    @Select("update paymentinformation(myCourse,amountInstallments,paymentCycle,classHours) set myCourse=#{myCourse},amountInstallments=#{amountInstallments},paymentCycle=#{paymentCycle},classHours=#{classHours} where id = #{id}")
    PaymentInformation update(Integer id);
}
